﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StationOnSuccess.aspx.cs" Inherits="CRM.Web.ReportManage.StationOnSuccess" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/report.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
    <script type="text/javascript"  src="<%= base.ResourcesPath %>Js/report.js"></script>
</head>
<body>
<form id="form1" runat="server"><asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>

    <table border="0" cellpadding="0" cellspacing="0" id="tTitle">
        <tr>
            <td class="left">
                <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
            </td>
            <td class="middle">
                <div class="pagetitle">
                    <div>
                        <asp:Label ID="lblTitle" runat="server">服务站一次性处理问题成功率</asp:Label></div>
                </div>
            </td>
            <td class="right">
                <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
            </td>
        </tr>
    </table>
    
    <div id="divMain">
    <table id="divReport"  cellpadding="0" cellspacing="0"  >
        <tr>
            <td style="width: auto;  vertical-align: top;  ">
                    <div id="divReportMain" style="width: 554px; height: 100%; overflow: scroll; vertical-align: top;">
                        <asp:GridView ID="gvReport" runat="server" CssClass="gridview" OnRowCreated="gvReport_RowCreated"
                            OnRowDataBound="gvReport_RowDataBound">
                            <RowStyle CssClass="row" />
                            <AlternatingRowStyle CssClass="row2" />
                            <HeaderStyle CssClass="header" />
                            <PagerStyle CssClass="pager" />
                        </asp:GridView>
                </div>
            </td>
            <td id="tdRight" style="width: 300px;   vertical-align: top; ">
                <div style=" vertical-align: top; height: 280px; width: 100%; overflow: scroll; border: 0px;">            
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <asp:GridView ID="gvCondition" Width="100%" CssClass="gridview" runat="server" AutoGenerateColumns="False" 
                            Visible="True" OnRowCreated="gvCondition_RowCreated" 
                            >
                            <Columns>
                                <asp:TemplateField HeaderText="选择">
                                    <HeaderTemplate>
                                        <asp:CheckBox ID="cbConditionHeader" runat="server"  AutoPostBack="True" OnCheckedChanged="cbConditionHeader_CheckedChanged" />
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <asp:CheckBox ID="cbCondition" runat="server"  CssClass="cbItem" />
                                    </ItemTemplate>
                                            <ItemStyle HorizontalAlign="Center" />
                                </asp:TemplateField>
                                <asp:BoundField HeaderText="服务商名称" DataField="SERVICEPROVIDERNAME" />
                                <asp:BoundField HeaderText="服务商编码" DataField="SERVICEPROVIDERCODE" />
                                <asp:BoundField HeaderText="事业部名称" DataField="BUSINESSDIVISIONNAME" Visible="false"/>
                                <asp:BoundField HeaderText="事业部编码" DataField="BUSINESSDIVISIONCODE" Visible="false"/>
                            </Columns>
                            <EmptyDataTemplate >
                                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                                    <tr>
                                        <th style="width:24px;"><input type="checkbox" /></th>
                                        <th >服务商名称</th>
                                        <th >服务商代码</th>
                                        <th >事业部名称</th>
                                        <th >事业部编码</th>
                                    </tr>
                                </table>
                            </EmptyDataTemplate>
                                    <EmptyDataRowStyle CssClass="empty" />
                                    <RowStyle CssClass="row" />
                                    <AlternatingRowStyle CssClass="row2" />
                                    <HeaderStyle CssClass="header" />
                                    <PagerStyle CssClass="pager" />
                        </asp:GridView>
                    </ContentTemplate>
                </asp:UpdatePanel>
                </div>
            <div id="tdRightBottom" style=" vertical-align: top; height: 280px; width: 300px; overflow: scroll; border: 0px; ">
                    <table cellpadding="0" cellspacing="1" class="search">
                        <tr>
                            <td class="bg" align="right" style="width: 89px; height: 23px;">
                                开始时间：&nbsp;
                            </td>
                            <td class="bg" style="width: 166px; height: 23px;">
                                <asp:TextBox ID="txtBeginDate" runat="server" Style="width: 70px; line-height: 20px;"></asp:TextBox>
                                <asp:TextBox ID="txtBeginTime" runat="server" Style="width: 70px; line-height: 20px;"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg" align="right" style="width: 89px">
                                结束时间：&nbsp;
                            </td>
                            <td class="bg" style="width: 166px">
                                <asp:TextBox ID="txtEndDate" runat="server" Style="width: 70px; line-height: 20px;"></asp:TextBox>
                                <asp:TextBox ID="txtEndTime" runat="server" Style="width: 70px; line-height: 20px;"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg" align="right">
                                事业部：&nbsp;
                            </td>
                            <td class="bg" style="width: 166px">
                                <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                    <ContentTemplate>
                                        <asp:DropDownList ID="ddlBusiness" runat="server" OnSelectedIndexChanged="ddlBusiness_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdbtn" colspan="2">
                                <asp:Button ID="btnSearch" runat="server" Text="查询" CssClass="btn" CommandName="Search"
                                    OnClick="btnSearch_Click" />
                                <asp:Button ID="btnExport" CssClass="print btn" CommandName="Search" runat="server" Text="导出EXCEL"
                                    OnClick="btnExport_Click" />
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
    </table>
    </div>
</form>
</body>
</html>
